StellarPay\Integrations\WooCommerce\Controllers\MyAccount\MySubscriptions S

Total Complexity 33
Dependencies 12
Dependents 4
Total lines 261
Lines of code 139
Logical lines of code 96
Comment lines 38
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
__invoke()
A
49 8 32
handleCancel()
S
51 6 28
handleUpdatePaymentMethod()
S
53 4 24
addSuccessNotice()
S
61 3 13
addErrorNotice()
S
61 3 13
getAction()
S
65 3 10
shouldInterceptRequest()
S
67 3 7
redirectToSubscriptionPage()
S
79 1 3
isValidRequest()
S
71 1 5
getNonce()
S
75 1 4